Teamcenter MCP Server
Universal MCP server for integrating AI assistants with Teamcenter Knowledge Base APIs with Azure AD authentication support.
📦 Live on PyPI: https://pypi.org/project/teamcenter-mcp-server-test/
✨ What's New in v0.1.2
- 🔐 Azure AD Authentication - Connect to real Teamcenter APIs
- 🔄 Hybrid Mode - Seamless switching between localhost mock and production
- 🌍 Environment Variables - Configure via
TEAMCENTER_API_HOST - 🛡️ Secure - Uses cached Azure AD cookies, no secrets in code
Quick Start (Just Copy & Paste)
🚀 Production Mode (Azure AD)
Add to ~/.continue/config.json:
{
"experimental": {
"modelContextProtocolServers": [{
"transport": {
"type": "stdio",
"command": "uvx",
"args": ["teamcenter-mcp-server-test@0.1.2"],
"env": {
"TEAMCENTER_API_HOST": "https://codesentinel.azurewebsites.net"
}
}
}]
}
}
🔧 Development Mode (Localhost Mock)
Add to ~/.continue/config.json:
{
"experimental": {
"modelContextProtocolServers": [{
"transport": {
"type": "stdio",
"command": "uvx",
"args": ["teamcenter-mcp-server-test@0.1.2"]
}
}]
}
}
VS Code (Production)
Add to .vscode/mcp.json:
{
"servers": {
"teamcenter": {
"type": "stdio",
"command": "uvx",
"args": ["teamcenter-mcp-server-test@0.1.2"],
"env": {
"TEAMCENTER_API_HOST": "https://codesentinel.azurewebsites.net"
}
}
}
}
JetBrains IDEs (Production)
Add to ~/.mcp.json:
{
"mcpServers": {
"teamcenter": {
"command": "uvx",
"args": ["teamcenter-mcp-server-test@0.1.2"],
"env": {
"TEAMCENTER_API_HOST": "https://codesentinel.azurewebsites.net"
}
}
}
}
🔐 Azure AD Authentication Setup
Prerequisites
-
Authenticate first using the working Python client:
# Run this once to cache Azure AD credentials python /path/to/easy_auth_client.py ask "test"
-
Verify authentication works:
# Check for cached cookie ls ~/.teamcenter_easy_auth_cache.json
Environment Variables
TEAMCENTER_API_HOST: API endpoint URL- Production:
https://codesentinel.azurewebsites.net - Development:
http://localhost:8000(default)
- Production:
📦 Version History
- v0.1.2 (Latest) - Azure AD authentication + hybrid mode
- v0.1.1 - Localhost mock only (legacy)
Usage
→ See USAGE.md for copy & paste examples ←
Quick examples:
- VS Code:
@workspace get Teamcenter API documentation for part creation - Continue.dev:
@MCP search for PLM workflow integration documentation
Production Setup
Replace http://localhost:8000 with your real Teamcenter API:
"args": ["teamcenter-mcp-server-test", "--base-url", "https://teamcenter.yourcompany.com"]
Testing
Quick Test
uvx teamcenter-mcp-server-test --version
Demo/Development Setup
Start mock API server:
git clone https://github.com/your-repo/mock-api
cd mock-api
uv run uvicorn main:app --reload
Server runs on http://localhost:8000 - use this URL in configs above.
Development (Advanced)
Click for development setup
Installation
curl -LsSf https://astral.sh/uv/install.sh | sh
Build Package
uv build
Run Tests
uv run pytest tests/ -v
Publishing to PyPI
→ See DEVELOPER.md for release instructions ←
Files Overview
auth_mcp_stdio.py: Main MCP servermain.py: Mock API server for developmentpyproject.toml: Package configuration
Metadata
Release files for teamcenter-mcp-server-test 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| teamcenter_mcp_server_test-0.1.6.tar.gz | 11.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| teamcenter_mcp_server_test-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.1 kB
Release files / teamcenter_mcp_server_test-0.1.6.tar.gz
| Download URL | teamcenter_mcp_server_test-0.1.6.tar.gz |
|---|---|
| Size | 11.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8e1b98354e21b870deeac9b769114f2547f70da70b302ef645e3cd73f469791
|
|
BLAKE2b-256 checksum How to use checksums |
290f6c3167396a96bd7001afda3df351083dfa3fee38788676344ca8d8e45fbb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.9
|
Release files / teamcenter_mcp_server_test-0.1.6-py3-none-any.whl
| Download URL | teamcenter_mcp_server_test-0.1.6-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
61ffa2434c0007d1d9244a1d6926e835240d5e3093b9fd59d4d03b93cc957c3c
|
|
BLAKE2b-256 checksum How to use checksums |
240cd0889cf73b034358baae62443be0c194c8f49a45d1b741f6954d234c1293
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.9
|
Security for teamcenter-mcp-server-test 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.