ai-agent-layer
by mhsh77
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | The port the server listens on. | 8787 |
| DB_FILE | No | Path to the SQLite database file. | data/agentlayer.db |
| CRAWL_RENDER | No | When to render pages: auto|never|always. | auto |
| LLM_PROVIDER | No | LLM provider: auto|anthropic|deepseek|heuristic. | auto |
| API_KEY_PEPPER | No | Secret used for hashing API keys; must be set in production. | dev value |
| ANTHROPIC_MODEL | No | Model name to use for Anthropic. | claude-sonnet-5 |
| CRAWL_MAX_PAGES | No | Maximum pages to crawl per site. | 60 |
| DEEPSEEK_API_KEY | No | API key for DeepSeek (alternative provider). | |
| ANTHROPIC_API_KEY | No | API key for Anthropic (enables model extraction pass). | |
| EMBEDDING_API_KEY | No | API key for hosted embedding provider. | |
| EMBEDDING_PROVIDER | No | Embedding provider: local|voyage|openai. | local |
| AGENTLAYER_MCP_TIER | No | MCP tool tier: public or restricted. | restricted |
| MONITOR_INTERVAL_MS | No | Recrawl cadence in milliseconds. | 6h |
| CONTEXT_TOKEN_BUDGET | No | Soft token budget for context.json. | 6000 |
| CRAWL_RESPECT_ROBOTS | No | Whether to respect robots.txt. | true |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/mhsh77/ai-agent-layer'
If you have feedback or need assistance with the MCP directory API, please join our Discord server