Python MCP Toolkit Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | HTTP/SSE listen address. | 127.0.0.1 |
| MCP_PORT | No | HTTP/SSE listen port. | 8000 |
| MCP_ENV_FILE | No | Path to the .env file to load on startup. Set empty to disable auto-load. | .env |
| MCP_TRANSPORT | No | MCP transport: stdio, sse, or streamable-http. | stdio |
| MCP_WORKSPACE | No | Workspace root directory for file_operation. | . |
| MCP_AUTH_TOKEN | No | Authorization token for HTTP/SSE requests. | |
| TAVILY_API_KEY | No | Tavily API Key. Required if using provider=tavily explicitly. | |
| TAVILY_API_URL | No | Tavily search API endpoint. | https://api.tavily.com/search |
| MCP_ALLOW_WRITE | No | Allow file write, replace, copy, move, delete operations. | false |
| MCP_AUTH_HEADER | No | Header name for authorization token. | X-MCP-Auth-Token |
| MCP_SERVER_NAME | No | Server name. | python-mcp-toolkit |
| MCP_MAX_FILE_BYTES | No | Maximum file size in bytes readable at once. | 2097152 |
| MCP_STATELESS_HTTP | No | Whether streamable-http requires client to maintain mcp-session-id. | true |
| MCP_REQUEST_TIMEOUT | No | HTTP request timeout in seconds. | 20 |
| MCP_TOOLKIT_PLUGINS | No | Comma-separated list of plugin modules to load. |
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 |
|---|---|
| web_searchB | 联网搜索公开网页,返回标题、URL 和摘要。 |
| file_operationA | 在 MCP_WORKSPACE 内执行文件操作;写入、复制、移动、删除需要 MCP_ALLOW_WRITE=true。 |
| agentC | 管理一个轻量 agent 任务状态,用于记录目标、步骤、进展和完成结果。 |
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/linhanhan227/termux-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server