atproto-mcp
Provides semantic search and access to AT Protocol/Bluesky documentation, lexicon schemas, and cookbook examples. Tools include search, lexicon retrieval, and cookbook example lookup.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@atproto-mcpsearch for creating a post in AT Protocol"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
atproto-mcp
MCP server providing a searchable knowledge base for the AT Protocol ecosystem — protocol documentation, lexicon schemas, Bluesky developer API docs, and cookbook examples — powered by txtai semantic search.
Data Sources
Source | Repository | Description |
AT Protocol Website | Protocol specs, guides, and blog posts from atproto.com | |
Bluesky API Docs | Developer docs from docs.bsky.app — tutorials, guides, advanced topics | |
AT Protocol Lexicons | JSON schemas defining all AT Protocol endpoints and record types | |
Cookbook | Example projects in Python, Go, TypeScript, and JavaScript |
Related MCP server: mcp-docs
Tools
Tool | Description |
| Semantic search across all documentation sources |
| Retrieve a specific lexicon by NSID (e.g. |
| List all lexicons, optionally filtered by namespace |
| Semantic search within lexicon schemas |
| Get a specific cookbook example by project name |
| List all cookbook examples, optionally by language |
| Semantic search within Bluesky API docs |
| Force re-fetch repos and rebuild the index |
Prompts
Prompt | Description |
| Get a comprehensive explanation of a lexicon |
| Get implementation guidance with code examples |
| Help debug AT Protocol / Bluesky API issues |
| Explore all lexicons in a namespace |
Installation
Prerequisites
Python 3.12+
uv (recommended) or pip
Git (for cloning source repositories)
Install from source
git clone https://github.com/ashex/atproto-mcp.git
cd atproto-mcp
uv syncRun with uvx
uvx atproto-mcpConfiguration
VS Code / Copilot
Add to .vscode/mcp.json in your workspace:
{
"mcpServers": {
"atproto": {
"command": "uvx",
"args": [
"atproto-mcp"
]
}
}
}Kiro Power
Open Kiro → Powers
Select Import power from GitHub
Enter
https://github.com/ashex/atproto-mcp
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"atproto": {
"command": "uvx",
"args": [
"atproto-mcp"
]
}
}
}MCPHub
Add to ~/.config/mcphub/servers.json:
{
"mcpServers": {
"atproto": {
"command": "uvx",
"args": ["atproto-mcp"]
}
}
}OpenCode
Add to your opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"atproto": {
"type": "local",
"command": ["uvx", "atproto-mcp"]
}
}
}Environment Variables
Variable | Default | Description |
|
| Where repos and the search index are stored |
|
| Hours before re-fetching repositories |
|
| Sentence-transformers model for embeddings |
How It Works
On first launch, the server:
Shallow clones the repos into
~/.cache/atproto-mcp/repos/Parses MDX docs, lexicon schemas, and cookbook examples into text chunks
Indexes the chunks using txtai hybrid search (BM25 keyword + dense vectors from the
bge-small-en-v1.5sentence-transformer, ~130MB, runs locally) — exact identifiers like NSIDs match reliably alongside semantic queriesIndex is persisted in
~/.cache/atproto-mcp/index/for subsequent starts
On subsequent launches, the cached index loads in seconds. Repos older than 24 hours are automatically refreshed with git pull. If the refreshed repos differ from what the index was built from, the stale index keeps serving queries while a fresh one is rebuilt in the background and swapped in when ready.
Development
# Install in development mode
uv sync
# Run the server locally (stdio)
uv run atproto-mcp
# Test with the MCP Inspector
uv run mcp dev src/atproto_mcp/server.py
# Run with debug logging
ATPROTO_MCP_CACHE_DIR=/tmp/atproto-mcp uv run atproto-mcpLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceA remote MCP server providing a tool for searching and querying ATprotocol documentation, helping developers easily access information while building on the protocol.Last updated114Creative Commons Zero v1.0 Universal
- Alicense-qualityDmaintenanceGeneric MCP server that exposes Markdown documentation to LLMs, enabling them to search and answer questions about any software documentation.Last updatedMIT
- AlicenseAqualityCmaintenanceMCP server for the Point Knowledge API that enables AI coding assistants to search and retrieve curated technical documentation (RFCs, framework docs, etc.) with hybrid search and precise citations.Last updated5MIT
- AlicenseAqualityDmaintenanceAn MCP server that serves documentation and enables AI-powered search, Q\&A, and document analysis for developer tools and guides.Last updated54MIT
Related MCP Connectors
MCP server for AgentDocs (agentdocs.eu): read, search, write, comment on & share Markdown docs.
MCP server for accessing curated awesome list documentation
Official remote MCP server for Archivist AI TTRPG campaign memory: characters, sessions, and more.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ashex/atproto-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server