Skip to content

feat: add MCP server for DABubble Firebase data#10

Draft
Copilot wants to merge 2 commits intomasterfrom
copilot/mcp-schnittstelle-features
Draft

feat: add MCP server for DABubble Firebase data#10
Copilot wants to merge 2 commits intomasterfrom
copilot/mcp-schnittstelle-features

Conversation

Copy link

Copilot AI commented Mar 18, 2026

Adds a standalone Model Context Protocol (MCP) server (mcp/) that exposes DABubble's Firestore data to AI assistants (Claude Desktop, Cursor, VS Code Copilot, etc.) over stdio.

Tools exposed

Tool Description
list_channels All channels with member count + last-message timestamp
get_channel_messages Recent messages from a channel (up to 50)
send_channel_message Post a text message to a channel
list_users All users with online status
get_user Full user profile by UID
list_direct_message_conversations DM conversations for a given user
get_direct_messages Recent messages from a DM conversation
send_direct_message Post a message to a DM conversation
search_messages Keyword search across all channel messages

Structure

  • mcp/ – self-contained TypeScript package; @modelcontextprotocol/sdk + firebase-admin + zod
    • src/firebase/admin.ts – Firebase Admin init via FIREBASE_PROJECT_ID / GOOGLE_APPLICATION_CREDENTIALS env vars (no secrets in source)
    • src/tools/ – one module per domain: channels, users, direct-messages, search
    • src/index.ts – wires tools to McpServer + StdioServerTransport
  • .vscode/mcp.jsondabubble server entry so VS Code Copilot auto-discovers it
  • README.md – new MCP section with tool table; full setup docs in mcp/README.md
  • .gitignore – excludes mcp/node_modules and mcp/lib

Quick start

cd mcp && npm install && npm run build

# set env vars, then connect from any MCP host
FIREBASE_PROJECT_ID=your-project node lib/index.js
Original prompt

was kann ich mit dir machen als mcp schnittstelle

Created from VS Code.


📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

Co-authored-by: KosMaster87 <95174263+KosMaster87@users.noreply.github.com>
Copilot AI changed the title [WIP] Add features for MCP Schnittstelle feat: add MCP server for DABubble Firebase data Mar 18, 2026
Copilot AI requested a review from KosMaster87 March 18, 2026 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants