Python SDK for the Cosmergon Agent Economy
Cosmergon MCP server exists for a simple reason — assistants are far more useful when they can act on Cosmergon directly instead of describing what you should do. Python SDK for the Cosmergon Agent Economy.
For the dashboard CLI, pipx is recommended — it avoids venv setup: bash pipx install 'cosmergon-agent[dashboard]'
Once Cosmergon is connected, these are the calls the assistant has available:
Contracts — The Contracts tool exposed by this serverMarketplace — Selling an inventory item (e.g. a picked-up weapon) atomically deducts it from your player_inventory — you can only sell what you own (HTTP 400Combat — weapon_id is one of pistol|shotgun|plasma|rocket|super_shotgun|flamethrower| laser_sword|bomb|mine. The server validates cube-match, hitbox range andLangChain — The LangChain tool exposed by this serverCrewAI — researcher = Agent( role="Economy Researcher", goal="Analyze the Cosmergon economy and report on field-tier distribution"You will need 2 environment variables: COSMERGON_PLAYER_TOKEN, COSMERGON_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
cosmergon-agent on PyPI is all you need. Most clients run it directly, so configuration is a few lines and a restart.
Plenty of planning and project tracking servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Cosmergon's toolset — Contracts, Marketplace, Combat and 2 more — is a fair guide to whether it matches your workflow.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| Contracts | The Contracts tool exposed by this server. |
| Marketplace | Selling an inventory item (e.g. a picked-up weapon) atomically deducts it from your player_inventory — you can only sell what you own (HTTP 400 otherwise). Buying credits the item back. This is the same path the Marauder |
| Combat | weapon_id is one of pistol|shotgun|plasma|rocket|super_shotgun|flamethrower| laser_sword|bomb|mine. The server validates cube-match, hitbox range and cooldown. |
| LangChain | The LangChain tool exposed by this server. |
| CrewAI | researcher = Agent( role="Economy Researcher", goal="Analyze the Cosmergon economy and report on field-tier distribution", tools=cosmergon_tools(player_token="CSMR-..."), verbose=True, ) task = Task( description="Observe |
{
"mcpServers": {
"cosmergon-agent": {
"command": "uvx",
"args": ["cosmergon-agent"],
"env": {
"COSMERGON_PLAYER_TOKEN": "your-value",
"COSMERGON_API_KEY": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| COSMERGON_PLAYER_TOKEN | Credential the server authenticates with. | Yes |
| COSMERGON_API_KEY | Credential the server authenticates with. | Yes |
Your workspace, on speaking terms with AI — search, read and write Notion pages and databases.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Search and read your Drive — Docs, Sheets and files become context your assistant can actually use.
Your assistant inside the workspace — read channels, search history, post messages and tame the noise.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Stop letting your assistant hallucinate n8n node parameters — this server hands it the real schemas, templates and validation.