MCP Servers for Teams
Example Deployment for MCP Servers
bsmith925
README
MCP Servers for Teams
This project explores deployment configurations and custom implementations for Model Context Protocol (MCP) servers for team usage.
Understanding MCP Architecture
The Model Context Protocol (MCP) is designed for local communication between AI assistants and server tools. After investigation, we've learned:
- MCP servers typically use Unix sockets or stdio for communication
- They're primarily designed for local use, not HTTP/REST APIs
- Team-wide access requires additional integration work
- MCP servers can work with multiple contexts/resources based on client requests
Project Structure
.
├── deployments/ # Kubernetes deployment configurations (experimental)
│ └── git/ # Git MCP server deployment
│ ├── Dockerfile
│ ├── k8s-deployment.yaml
│ ├── k8s-ingress.yaml
│ ├── deploy.sh
│ └── README.md
│
└── servers/ # Custom MCP server implementations
├── git/ # Git MCP server custom implementation (if needed)
│ └── README.md
└── README.md
Recommended Approaches
Local Development (Simple)
For individual use:
-
Install MCP servers directly:
pip install mcp-server-git
-
Configure in Claude Desktop:
{ "mcpServers": { "git": { "command": "python", "args": ["-m", "mcp_server_git"] } } }
The MCP Git server can work with multiple repositories by:
- Discovering Git repositories in the client's workspace
- Accepting repository paths in tool operations
- Creating new repositories when needed
Team-Wide Access (Advanced)
For team access, consider:
-
Custom Integration Service:
- Develop a service that interfaces with MCP servers
- Expose functionality via REST APIs with auth
- Create client adapters for AI assistants
-
Container-Per-User:
- Deploy MCP servers as containers with user-specific volumes
- Use authentication to route requests to user containers
-
Sidecar Pattern:
- Run MCP servers as sidecars in user application pods
- Share Unix sockets within the pod
Hypothetical Integration with Cursor
While Cursor doesn't currently support hosted MCP servers, if it did in the future, configuration might look like this:
Via Settings JSON
{
"mcp": {
"servers": {
"git": {
"url": "https://mcp-git.company.com",
"authToken": "${MCP_AUTH_TOKEN}",
"protocol": "sse"
},
"database": {
"url": "https://mcp-db.company.com",
"authToken": "${MCP_DB_AUTH_TOKEN}",
"protocol": "sse"
}
}
}
}
Via Environment Variables
CURSOR_MCP_GIT_URL=https://mcp-git.company.com
CURSOR_MCP_GIT_AUTH_TOKEN=your-auth-token
CURSOR_MCP_GIT_PROTOCOL=sse
Benefits for Cursor Users
Team-wide MCP servers would enable:
- Consistent Tool Access: All team members access the same tools with identical configurations
- Access Control: Centralized permissions and authentication
- Resource Sharing: Share computation resources for expensive operations
- Custom Tooling: Team-specific tools that integrate with internal systems
- Version Control: Centralized updates to tools and functionality
Experimental Kubernetes Deployment
Our Kubernetes deployment is experimental and demonstrates containerizing MCP servers. It may require additional development for practical use:
cd deployments/git
chmod +x deploy.sh
./deploy.sh
Understanding MCP Git Server Capabilities
The Git MCP server is more flexible than initially thought:
-
Multi-Repository Support:
- Can work with any number of repositories
- Repositories can be discovered from client workspace
- Each operation specifies which repository to use
-
Tool Operations:
- All Git operations require a
repo_path
parameter - Example:
git_status(repo_path="/path/to/repo")
- This allows working with multiple repositories in the same session
- All Git operations require a
-
Repository Discovery:
- Can automatically find Git repositories in client workspace
- Uses MCP "roots" capability to locate repositories
- Allows the AI to work with the repository the user has open
Adding New MCP Servers
To add a new MCP server:
- Create a new directory in
deployments/
for your server type - Copy and modify the Dockerfile, Kubernetes manifests, and deployment script
- If creating a custom implementation, add it to the
servers/
directory
Troubleshooting
Common Issues
"Not a valid Git repository" Error
Problem: ERROR:mcp_server_git.server:/repos is not a valid Git repository
Solution: The Git MCP server requires specifying a valid Git repository for each operation. There are two approaches:
-
Use the
git_init
tool to create a repository first:git_init(repo_path="/path/to/new/repo")
-
Then specify this path in subsequent operations:
git_status(repo_path="/path/to/new/repo")
Unlike our initial implementation, the server doesn't force or assume a default repository. Each operation must explicitly specify which repository to use.
Communication Issues
If you're experiencing connectivity problems:
- Check that the MCP server is running:
kubectl get pods
orps aux | grep mcp_server_git
- Verify your client configuration points to the correct path or URL
- Ensure you have appropriate permissions for the repository directory
Next Steps
We recommend:
- Exploring custom implementation of MCP servers that can work in a team environment
- Investigating WebSocket or gRPC protocols for network communication
- Developing authentication and authorization layers
- Creating client adapters that can interface with network-accessible MCP servers
References
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
MCP Package Docs Server
Facilitates LLMs to efficiently access and fetch structured documentation for packages in Go, Python, and NPM, enhancing software development with multi-language support and performance optimization.
Claude Code MCP
An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.
@kazuph/mcp-taskmanager
Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.
Linear MCP Server
Enables interaction with Linear's API for managing issues, teams, and projects programmatically through the Model Context Protocol.
mermaid-mcp-server
A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images.
Jira-Context-MCP
MCP server to provide Jira Tickets information to AI coding agents like Cursor

Linear MCP Server
A Model Context Protocol server that integrates with Linear's issue tracking system, allowing LLMs to create, update, search, and comment on Linear issues through natural language interactions.

Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.