oed-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
oed-mcp
openEuler Infra gateway as local MCP tools.
A zero-dependency MCP server (stdio) that
exposes the oed CLI — openEuler's
unified CLI for every community online service — to any local MCP client:
Claude Code, Cursor, Trae, Cline, Codex CLI, Gemini CLI, and friends.
Same three tools and the same model-facing contracts as
dsh-plugin-oed, in the
transport-agnostic envelope.
Quickstart
One prerequisite: Node ≥ 18. That's all — the server fetches the oed
CLI by itself on first use (via uvx, or a one-shot pip install --user),
or uses it from PATH if you already have it.
Claude Code
claude mcp add oed -- npx -y oed-mcpCursor / Trae / Cline — put this in the client's global mcp.json
(Cursor: ~/.cursor/mcp.json; Trae: ~/.config/Trae/User/mcp.json intl /
~/.config/Trae CN/User/mcp.json CN — ~/.trae/mcp.json is the
workspace-level convention and is never read globally):
{
"mcpServers": {
"oed": { "command": "npx", "args": ["-y", "oed-mcp"] }
}
}Cursor CLI from scratch
curl https://cursor.com/install -fsS | bash # install the CLI
cursor-agent login # one-time browser auth
# then write ~/.cursor/mcp.json as abovedsh
dsh plugin add oed-mcpGemini CLI / Qwen Code — this repo ships gemini-extension.json /
qwen-extension.json:
gemini extensions install https://github.com/Hourunze1997/oed-mcp --consent
qwen extensions install https://github.com/Hourunze1997/oed-mcp:oed(No owner/repo shorthand — both CLIs want a full git URL; the :oed suffix
picks the extension non-interactively on Qwen.)
Claude Code plugin — this repo is also a plugin marketplace (bundles the
oed-cli Agent Skill + the MCP server):
/plugin marketplace add Hourunze1997/oed-mcp
/plugin install oed@oed-marketplaceVerify — ask your client:
查一下 CVE-2019-10082 在 openEuler 的安全公告编号和严重程度
Expect it to call oed_describe → oed_call and answer
openEuler-SA-2020-1002 / Medium.
Everything above works anonymously (CVE, packages, forum, mailman, search).
Only AtomGit (ag) operations need oed ag login once — the token is stored
in the OS keyring.
Related MCP server: DuploCloud MCP Server
Manual setup
Any client with a raw command — the server is a plain stdio process:
oed-mcp # JSON-RPC 2.0, one message per line, on stdin/stdoutdsh, hand-wired — equivalent to dsh plugin add, if you'd rather edit the
patch yourself (a new Cordis entry must use - insert: — top-level patch
entries only override existing ones):
- insert:
- id: mcp-oed
name: '@deepseek-ai/dsh-mcp-client'
config:
serverName: oed
transport: stdio
command: npx
args: ['-y', 'oed-mcp']Tools
Tool | Purpose |
| List every discovered openEuler service (name, base_url, description). |
| Per-service operation list, or per-operation flag cheatsheet ( |
| Invoke one operation: |
Notes baked into the tool descriptions so the model can't trip on them: forum
Api-Key/Api-Username are gateway-managed (never pass them), ag (AtomGit)
calls need oed ag login once, and body fields only ever go in body.
Bootstrap behavior
Runner resolution order: oed on PATH → uvx --from oed-cli oed (ephemeral
venv, nothing system-wide changes) → one-shot pip install --user oed-cli.
Runner successes are cached; failures are not — install oed mid-session and
the next call just works. Set OED_MCP_AUTO_INSTALL=0 to disable all
automatic installation and get an actionable error instead.
Auth model
This server is local by design: it runs on your machine, so authentication
uses your own oed credentials (oed ag login → OS keyring). Most gateway
endpoints (CVE, packages, forum reads, mailman, search, SIG docs) are
anonymous; only ag operations need the login. Cloud/remote MCP deployments
are out of scope here on purpose.
Layout
One file, zero npm dependencies: index.js speaks newline-delimited
JSON-RPC 2.0 over stdio (the MCP stdio transport), forwards every tool call to
the resolved oed runner — oed's JSON stdout goes to the model verbatim, its
fixed exit codes (0 ok / 1 user error / 2 network / 3 upstream / 4 not found)
surface as isError tool results. A dsh bundle patch (cordis.patch.yml)
makes the same package installable with dsh plugin add.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
AgentReady Tools is a searchable catalog of more than 250 APIs, MCP servers and developer tools that AI agents can use, each with agent-readiness checks (docs, auth, OpenAPI, MCP support). Search by task, get tool details and related tools, and read or share field notes from other agents in the Agent Community. Remote MCP endpoint: https://agentready-tools.com/mcp
Search and inspect source-pinned agent skills, plugins and tools through a free public MCP.
Pay-per-use tool marketplace for AI agents. Search, price-check, and call APIs via MCP.
Find, vet, and run MCP tools through a secure audited gateway with prompt-injection risk scoring
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA plug-and-play MCP toolkit providing AI agents with web search (Chinese sources prioritized), file operations, and shell command execution capabilities.2MIT

DuploCloud MCP Serverofficial
AlicenseNot gradedqualityDmaintenanceExposes DuploCloud infrastructure management as MCP tools by dynamically discovering duploctl commands, enabling AI agents to query state and perform auditable actions.MIT- FlicenseAqualityDmaintenanceExposes two MCP tools (discover and execute) that enable agents to query an OpenAPI schema via natural language and execute matched API operations.2-
- FlicenseNot gradedqualityDmaintenanceEnables agents to query real-time OpenAPI documentation of backend services, providing tools to list services, endpoints, and schemas via MCP.-