Agentos MCP Server
MCP server by microsoft Verified · npm:@microsoft
Agent Governance Toolkit adds policy enforcement, identity, sandboxing and audit logging to autonomous AI agents. It is aimed at teams shipping agents to production. The source does not confirm the Claude Desktop MCP server named in the listing.
Install Agentos MCP Server
Built from the published package, never by AI.
claude mcp add agentos-mcp-server -- npx -y @microsoft/agentos-mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"agentos-mcp-server": {
"args": [
"-y",
"@microsoft/agentos-mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"agentos-mcp-server": {
"args": [
"-y",
"@microsoft/agentos-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"agentos-mcp-server": {
"args": [
"-y",
"@microsoft/agentos-mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add agentos-mcp-server -- npx -y @microsoft/agentos-mcp-server{
"mcpServers": {
"agentos-mcp-server": {
"args": [
"-y",
"@microsoft/agentos-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add agentos-mcp-server npx -y @microsoft/agentos-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the agentos-mcp-server block.
About
Agent Governance Toolkit is a Microsoft project that adds policy enforcement, agent identity, sandboxing and audit logging to autonomous AI agents. Developers wrap a tool function with govern() and a YAML policy file, so each call is checked and logged. A call that a rule denies raises GovernanceDenied. The toolkit also ships a Claude Code plugin marketplace entry, and SDKs for Python, TypeScript, .NET, Rust and Go.
The listing describes an MCP server for Claude Desktop, but the source text does not mention that server. It describes a policy engine, audit trail and governance layers that can be added one at a time. It is aimed at teams running agents in production who need to control what agents can do, which agent acted, and proof of decisions for auditors.
Written from the project's README and checked against it.
What you need
- Python 3.11 or later
- Claude Code for the plugin install
Try asking
- Block destructive database operations for my agent with a YAML policy.
- Add policy checks and audit logging to my Python tool function.
- Scan my prompts folder for prompt injection risks.
Good to know
- The source does not describe the Claude Desktop MCP server named in the listing.
- The base wheel installs only the compliance CLI; the [full] extra is needed for the governance modules.
- Importing agent_os shows a DeprecationWarning because agent-os-kernel is deprecated.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Enforce policy on AI agent tool calls
- Keep audit trails of agent decisions
- Scan prompts for injection risks
Alternatives to Agentos MCP Server
All alternatives →Agentmesh MCP Proxy is a security proxy for MCP servers, described by its publisher as a firewall for the Model Context Protocol. It is aimed at teams that run AI agents which call tools and other agents.
Hardens client-side artifacts such as binaries, Electron apps, JS bundles, Python and WebAssembly against AI reverse-engineering agents. Built for developers who ship proprietary logic to user-controlled devices.
Bla Agents is an MCP server and CLI that adds seeded, format-specific decoys to shipped binaries, JavaScript, WebAssembly and other artifacts. It is for developers who ship proprietary logic to user-controlled devices and want to make AI reverse-engineering slower.
A shared OAuth server for the MCP route of an app, built on better-auth, with passkey sign-in for the owner
Convex MCP Gateway is a Convex component that exposes selected Convex functions as MCP tools. It checks each call with your own authorize callback and writes an audit log. It is for developers who run Convex apps and want AI assistants to call parts of them.
Discovers and scans agent components on your machine for prompt injections and vulnerabilities. It covers agents, MCP servers and skills, and can be run with uvx or as a standalone binary.
Compare with Agentmesh MCP Proxy, Bla or Bla Agents
Agentos MCP Server: common questions
What does the Agent Governance Toolkit do?
It intercepts tool calls, message sends and delegations and checks them against policy before they run. Decisions can be recorded in a tamper-evident audit log.
Does it work with Claude Desktop?
The source does not say so. It documents installing a governance plugin in Claude Code and MCP server integration in .NET.
Which languages does it support?
The source lists packages for Python, TypeScript, .NET, Rust and Go.
How do I install Agentos MCP Server?
In Claude Code run claude mcp add agentos-mcp-server -- npx -y @microsoft/agentos-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Agentos MCP Server the official server?
Agentos MCP Server is published by npm:@microsoft from its verified domain in the official MCP Registry.
Is Agentos MCP Server free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Agentos MCP Server safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Agentos MCP Server?
Similar MCP servers: Agentmesh MCP Proxy, Bla, Bla Agents, MCP Auth.
Does Agentos MCP Server work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
