Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ATPROTO_MCP_CACHE_DIRNoWhere repos and the search index are stored~/.cache/atproto-mcp
ATPROTO_MCP_REFRESH_HOURSNoHours before re-fetching repositories24
ATPROTO_MCP_EMBEDDING_MODELNoSentence-transformers model for embeddingssentence-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

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription
explain_lexiconExplain 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_featureGet 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_atprotoHelp 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_namespaceExplore 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

NameDescription
list_all_lexiconsList all available AT Protocol lexicons.
list_all_cookbook_examplesList all available AT Protocol cookbook examples.

Latest Blog Posts

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