PKI Studio MCP

PKI Studio MCP

A local MCP server for AI-assisted PKI and ASN.1 workflows, providing tools for certificate parsing, key management, and PKCS#12 processing.

Category
访问服务器

README

PKI Studio MCP

PKI Studio MCP is a local MCP server for AI-assisted PKI, ASN.1, DER, PEM, X.509 certificate, CSR, key, and PKCS#12 workflows. It exposes PKI Studio family libraries as MCP tools for AI assistants through stdio and Streamable HTTP transports.

Documentation: https://github.com/pkistudio/pkistudiomcp/wiki

Current version: 0.7.2

The server is designed for local assistant workflows first. Certificate parsing, ASN.1 parsing, key recognition, and PKCS#12 processing run inside the MCP server process. Network fetching is limited to the explicit fetch_certificate_network_resources tool.

Features

  • stdio MCP server for local VS Code, GitHub Copilot, Claude Desktop, and other MCP clients.
  • Streamable HTTP MCP server for local, containerized, or controlled remote deployments.
  • ASN.1 / DER / BER / PEM parsing, summaries, node extraction, and decoded node values.
  • OBJECT IDENTIFIER encoding, decoding, and name resolution through PkiStudioJS.
  • X.509 certificate parsing through CertGadgets, including CDP/AIA/OCSP resource plans without automatic network access.
  • PKCS#8 private key and SPKI public key recognition, key pair generation, key verification, certificate/key matching, CSR creation, and self-signed certificate creation through Private Key Gadgets.
  • PKCS#12 / PFX import and export helpers for certificate and key bundles.
  • ASN.1 Instance Builder tools for parsing supported ASN.1 definitions, validating schema/instance JSON, and building DER.
  • ASN.1 Definition Sifter tools for ranking likely ASN.1 type definitions for DER/TLV data.
  • MCP workflow prompts for certificate inspection, certificate/key comparison, and PKCS#12 analysis.
  • Docker image for the Streamable HTTP server.

See the Wiki for details:

What Can I Ask?

  • Parse this PEM certificate and summarize the issuer, subject, validity, extensions, and ASN.1 structure.
  • Show all OIDs found in this DER data and resolve their names.
  • Check whether this certificate matches this private key.
  • Read this PKCS#12/PFX file and list contained certificates and keys.
  • Generate a test key pair, CSR, or self-signed certificate.
  • Identify likely ASN.1 type definitions for this DER data.
  • Build DER from this ASN.1 definition and JSON instance.

For a longer prompt list, see Getting Started.

Tool Areas

  • Certificate inspection: parse_certificate, parse_asn1, summarize_asn1, resolve_oid.
  • DER / ASN.1 inspection: parse_asn1, summarize_asn1, describe_node, extract_asn1_node, asn1_node_value.
  • OID utilities: encode_oid, decode_oid_value, resolve_oid.
  • Key material: recognize_key_material, generate_key_pair, verify_key_pair, certificate_matches_key.
  • CSR and test certificates: create_csr, create_self_signed_certificate.
  • PKCS#12 / PFX: read_pkcs12, write_pkcs12.
  • ASN.1 Definition Sifter: sift_asn1_definition_candidates, sift_pki_asn1_definition_candidates.
  • ASN.1 Instance Builder: parse_asn1_definition, validate_asn1_schema, validate_asn1_instance, create_asn1_instance.

For all purpose-to-tool mappings, see the Tool Guide.

Install

Run the stdio MCP server from npm:

npx -y @pkistudio/pkistudiomcp

Run the Streamable HTTP MCP server from npm:

npx -y --package @pkistudio/pkistudiomcp pkistudiomcp-http

Package commands:

  • pkistudiomcp: stdio MCP server.
  • pkistudiomcp-http: Streamable HTTP MCP server.

MCP Client Quick Start

VS Code / GitHub Copilot .vscode/mcp.json:

{
  "servers": {
    "pkistudio": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@pkistudio/pkistudiomcp"]
    }
  }
}

Claude Desktop configuration:

{
  "mcpServers": {
    "pkistudio": {
      "command": "npx",
      "args": ["-y", "@pkistudio/pkistudiomcp"]
    }
  }
}

After configuring your client, try one of the prompts in What Can I Ask?. For client-specific details, see MCP Client Configuration.

Docker

Run the published Docker image:

docker run --rm -p 3000:3000 pkistudio/pkistudiomcp:latest

The Docker image starts the Streamable HTTP server by default. The MCP endpoint is http://127.0.0.1:3000/mcp, and health checks are available at http://127.0.0.1:3000/healthz and http://127.0.0.1:3000/readyz.

Pin a release version when reproducibility matters:

docker run --rm -p 3000:3000 pkistudio/pkistudiomcp:0.7.2

For HTTP deployment controls, see HTTP Deployment and Security Notes.

Development

Run local checks with:

npm install
npm run check
npm run test

Run the stdio server locally:

npm start

Run the HTTP server locally:

npm run start:http

For package or release-related changes, also run:

npm pack --dry-run

For standard checks, MCP smoke coverage, package preview, local Wiki clone conventions, and release workflow notes, see Testing and Development.

PKI Studio Family Dependencies

PKI Studio MCP imports the published PKI Studio family npm packages rather than vendoring their source:

  • @pkistudio/pkistudiojs
  • @pkistudio/certgadgets
  • @pkistudio/pvkgadgets
  • @pkistudio/asn1instancebuilder
  • @pkistudio/asn1defsifter

Keep these dependencies aligned with the latest compatible PKI Studio family releases when updating MCP tool coverage or documentation.

License

PKI Studio MCP is licensed under the MIT License. See LICENSE.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选