Oso Cloud MCP Server
officielUnderstand, develop, and debug authorization policies in Oso Cloud.
Documentation Index
Fetch the complete documentation index at: https://www.osohq.com/docs/llms.txt Use this file to discover all available pages before exploring further.
Oso MCP Server
Integrate your local LLM setup with Oso Cloud APIs via our MCP server.
Use the MCP Server to:
- develop a better understanding of your policy
- use natural language to ask authorization-related questions
- debug why an authorization decision does not match what you expect
This guide assumes you have already installed and set up the CLI.
Connect
Claude Desktop (DXT)
Don't have the CLI installed or don't want to manually add the configuration? No worries - download the following DXT file and double-click to automatically install the Oso MCP Server into Claude Desktop or other AI clients that accept DXTs.
curl -O https://d2nl1ljmg8n1q8.cloudfront.net/latest/oso-cloud-mcp.dxt
Verify the SHA256 checksum:
MacOS:
curl -sL https://d2nl1ljmg8n1q8.cloudfront.net/latest/oso-cloud-mcp.dxt.sha256 | shasum -a 256 -c
Linux:
curl -sL https://d2nl1ljmg8n1q8.cloudfront.net/latest/oso-cloud-mcp.dxt.sha256 | sha256sum -c
You may also specify the DXT version:
curl -O https://d2nl1ljmg8n1q8.cloudfront.net/0.33.2/oso-cloud-mcp.dxt
Note: There are no DXT versions <0.33.0
The following installation methods assume you have already installed and set up the CLI (version >=0.33.0).
Cursor
Manual
In your LLM client of choice, add the following to your MCP config file to run it against a local dev server:
{
"mcpServers": {
"oso": {
"command": "oso-cloud",
"args": ["experimental", "mcp"],
"env": {
"OSO_URL": "http://localhost:8080",
"OSO_AUTH": "e_0123456789_12345_osotesttoken01xiIn"
}
}
}
}
- You may optionally omit the
OSO_URLenvironment variable or set it tohttps://cloud.osohq.comif you want to run it against a live production server. - The provided
OSO_AUTHtoken is for the local dev server. You can obtain your live serverOSO_AUTHtoken from the Oso Cloud UI.
Where can I find my MCP config file?
Here are guides for some common clients:
Usage
This server is primarily intended for use with dev servers to aid in development. Please use extra caution when using against a live environment.
Once you have your MCP server up and running, you can ask your LLM any authorization related questions and watch it use the tools available. Currently, we expose read tools to:
- Get your policy
- Get all facts
- Run an
authorizequery - Query your facts with pattern matching
- Run policy tests
We also expose the following write tools, restricted for use only with local dev servers:
- Update your policy
- Add facts
- Delete facts
- Clear all data
Try sending any of the following messages:
- Draw a mermaid diagram of my authorization policy
- What permissions does
<actor>have on<resource>?- e.g. "What permissions does Alice have on Project XYZ?"
- Why doesn't
<actor>have permission to<action><resource>?
Feedback
We are actively iterating on developer experience and would appreciate all feedback on the Oso MCP Server and the broader development experience with Oso Cloud. Please do not hesitate to reach out on Slack!
Serveurs connexes
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Remote MCP Server on Cloudflare
A template for deploying a remote MCP server on Cloudflare Workers, customizable by defining tools in the source code.
Rust Docs MCP Server
Query up-to-date documentation for Rust crates.
Port MCP Server
An MCP server for Port.io that enables advanced automations and natural language interactions for developers and AI applications.
Dart MCP Server
An MCP server that exposes Dart SDK commands for AI-powered development.
Session Continuity MCP Server
An MCP server for Claude Code CLI that provides persistent session management, entity tracking, and context preservation across development sessions.
MCP Design System Extractor
Extracts component information, including HTML, styles, and metadata, from Storybook design systems.
MCP Lab
A development environment for building and testing custom MCP servers with AI and VS Code integration.
ACR — Agent Composition Records
Interaction profile registry for AI agents — log interactions, build a behavioral profile, query it through behavioral lenses. 21 tools, zero-config.
Hive MCP Server
Provides real-time crypto and Web3 intelligence using the Hive Intelligence API.
MCP Tool Poisoning Attacks
A Node.js project demonstrating MCP client and server interactions for tool poisoning attacks, requiring an Anthropic API key.