Skip to content

feat(mcp): add statbotics-mcp server - #409

Draft
bc3tech wants to merge 4 commits into
avgupta456:masterfrom
bc3tech:feat/mcp-server
Draft

feat(mcp): add statbotics-mcp server#409
bc3tech wants to merge 4 commits into
avgupta456:masterfrom
bc3tech:feat/mcp-server

Conversation

@bc3tech

@bc3tech bc3tech commented Apr 27, 2026

Copy link
Copy Markdown

Adds a new top-level mcp/ package — a FastMCP-based MCP server wrapping the public Statbotics REST API at https://api.statbotics.io/v3.

Highlights

- 14 tools mirroring the statbotics Python client 1:1
- stdio (default) and streamable-HTTP transports
- Dockerfile + .dockerignore for toolchain-free local execution
- Tests (7/7 passing), README with client config snippets (Claude Desktop, VS Code, Cursor, GitHub Copilot CLI, Docker), and a CLAUDE.md guide

Commits

1. feat(mcp) — the mcp/ package + Docker
2. docs(mcp) — brainstorm notes
3. docs — top-level README/CLAUDE.md pointers

bc3tech and others added 3 commits April 27, 2026 10:45
Adds a new top-level mcp/ package providing a FastMCP-based MCP server

that wraps the public Statbotics REST API at https://api.statbotics.io/v3.

- 14 tools mirroring the statbotics Python client 1:1

- stdio (default) and streamable-HTTP transports

- Dockerfile + .dockerignore for container-based local execution

- Tests, README with client config snippets (Claude Desktop, VS Code,

  Cursor, GitHub Copilot CLI, Docker), and CLAUDE.md guide

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@vercel

vercel Bot commented Apr 27, 2026

Copy link
Copy Markdown

@bc3tech is attempting to deploy a commit to the avgupta456's projects Team on Vercel.

A member of the Team first needs to authorize it.

FastMCP's HTTP transport serves concurrent requests; the unguarded

if _client is None check could let two threads race and instantiate

two clients (one without the STATBOTICS_API_URL override applied).

Use double-checked locking with threading.Lock.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

@Project516 Project516 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -0,0 +1,49 @@
---

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this file for the pr

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