modular-mcp
modular-mcp
__manifest__.toml 기반의 Odoo 스타일 애드온과 선택적 FastAPI 웹 레이어를 갖춘 모듈형 MCP 서버입니다.
설정
python -m venv .venv
.venv\Scripts\activate
pip install -e ".[dev]"
copy .env.example .env설정은 주로 config.toml에서 관리합니다. 환경 변수는 여전히 FastAPI 설정을 재정의합니다(.env 지원).
소스 | 용도 |
| MCP 서버, 로깅, 애드온 경로, FastAPI 기본값 |
| FastAPI |
Related MCP server: Multiple MCP Servers Framework
실행
modular-mcp serve
modular-mcp mcp serve
modular-mcp get helloFastAPI UI:
http://127.0.0.1:8000/MCP 기본:
http://127.0.0.1:5001의streamable-http(config.toml참조)
애드온
각 애드온은 addons/ 아래 폴더이며 다음을 포함합니다:
addons/my_addon/
__manifest__.toml
config.toml
tools.py # register_tools(mcp, config, logger)샘플 애드온: kv_get / kv_set이 있는 addons/key_value_store/
애드온 내 공유 임포트:
from app.mcp.utils import format_json, exception_to_error_response
from app.mcp.logging import monitor_performance
from helpers import my_helper # local module in the same addon folderdynamic-mcp에서 도구 포팅
# Before
tools/requests_tools.py
# After
addons/requests/
__manifest__.toml
config.toml
tools.py도구 코드를 tools.py로 옮기고, utils.* 임포트를 app.mcp.utils로 변경한 다음, __manifest__.toml에서 log_key를 설정하세요.
테스트 및 린트
pytest
ruff check .
ruff format --check .
mypy
pyrightPre-commit
pip install -e ".[dev]"
pre-commit install
pre-commit run --all-filesThis 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
- FlicenseBqualityDmaintenanceA Model Context Protocol server framework featuring dynamic tool loading and automatic tool discovery from a dedicated directory. It leverages FastMCP to provide a robust environment for building, configuring, and testing individual Python-based tools.1
- AlicenseCqualityDmaintenanceProvides a framework for running multiple MCP servers using FastAPI, stdio, and streamable-http transports, with an echo tool for testing and integration with MCP Inspector.14MIT
- FlicenseNot gradedqualityDmaintenanceEnables building and running MCP servers over streamable HTTP, exposing tools to AI assistants like Cursor, with examples of mounting multiple servers in FastAPI.
Related MCP Connectors
MCP server exposing the Backtest360 engine API as tools for AI agents.
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
The official MCP Server from Mia-Platform to interact with Mia-Platform Console
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/lamchantuong/modular-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server