This change implements a Model Context Protocol (MCP) server that enables AI assistants to manage society members through natural language interactions. Changes: - Add MCP server implementation (src/mcp_server.py) - Implement 4 core tools: * list_members - Query all members * get_member - Get specific member by ID * create_member - Create new member * update_member - Update member information - Add mcp and httpx dependencies to pyproject.toml - Update README with comprehensive MCP server documentation - Create OpenSpec proposal in openspec/changes/add-mcp-server/ The MCP server connects to the GraphQL API via HTTP and provides structured tools that abstract away GraphQL complexity. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
48 lines
901 B
TOML
48 lines
901 B
TOML
[project]
|
|
name = "clubber"
|
|
version = "0.1.0"
|
|
description = "Member management system for non-profit societies with GraphQL API"
|
|
requires-python = ">=3.11"
|
|
authors = [
|
|
{ name = "Clubber Team" }
|
|
]
|
|
license = { text = "MIT" }
|
|
dependencies = [
|
|
"aiosqlite>=0.21.0",
|
|
"alembic>=1.17.2",
|
|
"fastapi>=0.121.3",
|
|
"httpx>=0.28.1",
|
|
"mcp>=1.3.2",
|
|
"pydantic-settings>=2.12.0",
|
|
"sqlalchemy[asyncio]>=2.0.44",
|
|
"strawberry-graphql[fastapi]>=0.286.0",
|
|
"uvicorn[standard]>=0.38.0",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"black>=25.11.0",
|
|
"isort>=7.0.0",
|
|
"pytest>=9.0.1",
|
|
"pytest-asyncio>=1.3.0",
|
|
"ruff>=0.14.5",
|
|
]
|
|
|
|
[tool.black]
|
|
line-length = 88
|
|
target-version = ["py311"]
|
|
|
|
[tool.ruff]
|
|
line-length = 88
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W", "I"]
|
|
ignore = ["E501"]
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
multi_line_output = 3
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|