Bernerspace
A unified MCP server that provides OAuth-enabled integrations for multiple services through a single deployment. Currently supports Slack with 47 tools, with plans to expand to Gmail, Google Calendar, Notion, and 100+ other integrations.
README
Bernerspace
One MCP server · All your integrations · Zero hassle
<p align="center"> <img src="assets/banner.jpg" alt="Bernerspace Banner" width="800"> </p>
<p align="center"> 🚀 <b>Unified MCP server for all OAuth-enabled integrations</b><br> <i>One server · One JWT · Many tools</i> </p>
<p align="center"> ✅ <b>Current Live Integration:</b> Slack — <b>47 tools</b> tested & available <br> 🔜 <b>Coming Soon:</b> Gmail · Google Calendar · Notion <br> 🎯 <b>Goal:</b> 100+ integrations </p>
Why
Using or integrating MCP servers today is painful because:
- Most MCP servers lack OAuth capabilities, limiting user experience.
- Every MCP server requires separate deployment and management, increasing operational overhead.
- Integration chaos: different authentication layers across MCP servers make unified integration nearly impossible.
What You Get
- Single JWT across services via middleware (HS256, issuer/audience validated).
- OAuth middleware per integration (Slack live; more coming) with DB‑backed token storage.
- Consistent MCP tools interface for each service.
- Unified endpoints you can self‑host, e.g.:
Current Status
- Current live integration: Slack with 47 fully tested tools available.
→ Learn more about Slack tools: docs/slack/tools.md - Coming soon: Gmail, Google Calendar, and Notion.
📖 Documentation
All setup instructions, integration guides, and examples are available on our Notion docs:
🔗 Bernerspace Quick Start Docs
The docs are updated regularly with:
- Quick start guides for new integrations
- Step-by-step installation instructions
- Usage examples for each tool
- Roadmap and contribution guidelines
Quickstart
- Environment
Create a .env with the following variables:
JWT_SECRET=your-jwt-signing-secret
DATABASE_URL=postgresql://localhost:5432/mcp_server
CLIENT_ID=<slack_client_id>
CLIENT_SECRET=<slack_client_secret>
SLACK_REDIRECT_URI=http://localhost:8000/mcp/slack/oauth/callback
- Install dependencies (choose one)
- Using pip
- python3 -m venv .venv && source .venv/bin/activate
- pip install -e .
- Using uv
- uv venv && source .venv/bin/activate
- uv pip install -e .
- Run the server
- Using Python
- python server.py
- Server will listen on http://localhost:8000
- Using Docker
- docker build -t bernerspace-mcp .
- docker run --env-file .env -p 8000:8000 bernerspace-mcp
- Server will listen on http://localhost:8000
- Using Docker Compose
- docker compose up -d
- Create a JWT to call the MCP server
- python generate_jwt.py --user-id <your_user_id>
- Use the printed token as: Authorization: Bearer TOKEN
OAuth Flow (Slack)
- GET /mcp/slack returns
oauth_urland instructions to authorize the workspace. - Slack redirects to
SLACK_REDIRECT_URI(defaults to/mcp/slack/oauth/callback). - The server exchanges the code, enriches the token details, and persists it in Postgres.
- Tokens are stored in table
oauth_tokenswith composite key(client_id, integration_type)whereclient_id= your JWT subject (sub).
Database
- Schema managed with Alembic (migrations included).
- Table:
oauth_tokens(client_id, integration_type, token_json, stored_at). - Configure Postgres via
DATABASE_URL.
MCP Client Configuration
Example client entry (mcp.json):
{
"servers": {
"slack": {
"url": "http://localhost:8000/mcp/slack",
"type": "http",
"headers": {
"Authorization": "Bearer YOUR_JWT"
}
}
}
}
If the user hasn’t completed OAuth, tool calls will return an object with requires_auth: true and an oauth_url you can open to complete authorization.
VS Code MCP Client Setup
Use this mcp.json in your VS Code user settings (replace JWT with your generated token):
{
"servers": {
"slack": {
"url": "http://localhost:8000/mcp/slack",
"type": "http",
"headers": {
"Authorization": "Bearer JWT"
}
}
},
"inputs": []
}
LangChain Example
from langchain_mcp_adapters.client import MultiServerMCPClient
from langgraph.prebuilt import create_react_agent
client = MultiServerMCPClient(
{
"slack": {
"transport": "streamable_http",
"url": "http://localhost:8000/mcp/slack",
"headers": {
"Authorization": "Bearer YOUR_TOKEN"
},
}
}
)
tools = await client.get_tools()
agent = create_react_agent("openai:gpt-4.1", tools)
response = await agent.ainvoke({"messages": "Can you send hello message to my #general groups?"})
Docker
You can run Bernerspace MCP in Docker:
docker build -t bernerspace-mcp .
docker run --env-file .env -p 8000:8000 bernerspace-mcp
🚀 Roadmap
We’re just getting started. Our goal is to support 100+ integrations so you can connect any third-party service to your MCP server with ease.
Coming Soon
- 📧 Gmail
- 📅 Google Calendar
- 📂 Google Drive
- 🗂️ Notion
- 💻 GitHub
- 💬 Discord
- 📊 Airtable
- 🔍 ElasticSearch
- 📝 Confluence
…and dozens more on the way.
🤝 Contributing
We welcome contributions of all kinds — whether it’s fixing a bug, suggesting a feature, improving documentation, or just sharing feedback.
Ways to Contribute
- ⭐ Star the repo to show your support and help others discover Bernerspace.
- 🐛 Report a bug so we can fix it quickly.
- 💡 Request a feature or suggest an improvement.
- 🛠️ Submit a Pull Request with code changes, docs updates, or tests.
Stay in Touch
- 📧 Email me at ranga.sumit1999@gmail.com
- 🐦 Follow & DM on Twitter (X): @SumitSandbox
Whether you’re a first-time contributor or an experienced developer, we’d love to hear from you and collaborate!
License
This project is licensed under the MIT License.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。