atproto-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ATPROTO_MCP_CACHE_DIR | No | Where repos and the search index are stored | ~/.cache/atproto-mcp |
| ATPROTO_MCP_REFRESH_HOURS | No | Hours before re-fetching repositories | 24 |
| ATPROTO_MCP_EMBEDDING_MODEL | No | Sentence-transformers model for embeddings | sentence-transformers/all-MiniLM-L6-v2 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_atproto_docsA | Search across all AT Protocol documentation, lexicons, Bluesky API docs, and cookbook examples. Use this tool to find information about AT Protocol concepts, endpoints, data structures, authentication, federation, and implementation patterns. Search is hybrid (keyword + semantic), so exact identifiers like NSIDs ("app.bsky.feed.getFeed") or endpoint names match reliably. Args: query: Natural language search query (e.g. "how to create a post", "OAuth authentication flow", "what is a DID"). source: Optional filter — restrict to a specific source: "atproto-website" (protocol specs/guides from atproto.com), "bsky-docs" (Bluesky API docs from docs.bsky.app), "lexicons" (AT Protocol lexicon schemas), "cookbook" (example projects and code). Leave empty to search all sources. content_type: Optional filter — restrict to a content type: "guide" (tutorials and how-to guides), "spec" (protocol specifications), "blog" (blog posts), "reference" (lexicon schemas and API references), "example" (cookbook examples and code). Leave empty to search all types. limit: Maximum number of results (1-20, default 10). |
| get_lexiconA | Retrieve a specific AT Protocol lexicon by its NSID. Returns the full lexicon schema including type definitions, properties, descriptions, and cross-references. Use this when you need the complete definition of a specific endpoint or record type. Args: nsid: The Namespaced Identifier (e.g. "app.bsky.feed.post", "com.atproto.repo.createRecord", "chat.bsky.convo.sendMessage"). |
| list_lexiconsA | List all AT Protocol lexicons, optionally filtered by namespace prefix. Use this to discover available lexicons and their NSIDs before fetching specific ones with get_lexicon. Args: namespace: Optional namespace prefix to filter by (e.g. "app.bsky.feed", "com.atproto.repo", "chat.bsky", "tools.ozone"). Leave empty to list all. |
| search_lexiconsA | Search within AT Protocol lexicons using semantic search. Searches lexicon descriptions, property names, types, and definitions. More targeted than search_atproto_docs when you specifically need lexicon/schema information. Args: query: Search query (e.g. "post creation", "follow relationship", "blob upload", "moderation labels"). limit: Maximum results (1-20, default 10). |
| get_cookbook_exampleA | Retrieve a specific AT Protocol cookbook example by project name. Returns the project README, file listing, and key source code files. Use this when you need implementation examples or starter code. Args: name: Project directory name (e.g. "python-bsky-post", "ts-bot", "go-repo-export", "python-oauth-web-app"). Use list_cookbook_examples to discover available projects. |
| list_cookbook_examplesA | List all AT Protocol cookbook examples (starter projects and scripts). Use this to discover available example projects before fetching specific ones with get_cookbook_example. Args: language: Optional filter by language ("python", "go", "typescript", "javascript"). Leave empty to list all. |
| search_bsky_apiA | Search Bluesky developer API documentation (docs.bsky.app). Searches guides, tutorials, and advanced topics specific to the Bluesky API. Use this for questions about Bluesky-specific features like the firehose, federation, moderation, or API usage patterns. Args: query: Search query (e.g. "firehose subscription", "custom feeds", "authentication", "rate limits"). limit: Maximum results (1-20, default 10). |
| refresh_sourcesA | Force re-fetch all AT Protocol source repositories and rebuild the search index. Use this when you suspect the documentation is outdated or when upstream repos have been updated. This operation may take several minutes as it clones repositories and rebuilds the embeddings index. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| explain_lexicon | Explain an AT Protocol lexicon in detail. Retrieves the lexicon schema and provides a comprehensive explanation including its type, purpose, required fields, relationships to other lexicons, and practical usage examples. Args: nsid: The NSID of the lexicon to explain (e.g. "app.bsky.feed.post"). |
| implement_feature | Get implementation guidance for an AT Protocol feature. Searches the cookbook, documentation, and lexicons to recommend the best approach for implementing a specific feature, complete with code examples and relevant API references. Args: description: Description of the feature to implement (e.g. "create a bot that auto-replies to mentions", "build an OAuth login flow", "subscribe to the firehose"). |
| debug_atproto | Help debug an AT Protocol or Bluesky API issue. Searches docs and lexicons to diagnose errors and suggest fixes. Args: error: The error message, unexpected behavior, or issue description (e.g. "InvalidToken error on createRecord", "firehose connection drops after 30s"). |
| explore_namespace | Explore all lexicons within an AT Protocol namespace. Lists and explains all lexicons under a given namespace prefix, showing how they relate to each other. Args: namespace: The namespace prefix to explore (e.g. "app.bsky.feed", "com.atproto.repo", "chat.bsky"). |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| list_all_lexicons | List all available AT Protocol lexicons. |
| list_all_cookbook_examples | List all available AT Protocol cookbook examples. |
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