trollspace-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@trollspace-mcpList my code snippets"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
trollspace-mcp
MCP server for the Trollspace API — exposes 47 type-safe tools for managing snippets, nuggets, todos, ideas, tools, repos, travel, subscriptions, and more.
Built with the Model Context Protocol SDK, openapi-fetch, and TypeScript types auto-generated from the OpenAPI spec.
Setup
Prerequisites
Node.js >= 18
A Trollspace API key
Install & Build
npm install
npm run buildConfiguration
Set your API key as an environment variable:
export TROLLSPACE_API_KEY="troll_usr_your_key_here"Usage with Claude Desktop
Add this to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"trollspace": {
"command": "node",
"args": ["/path/to/troll-mcp/dist/index.js"],
"env": {
"TROLLSPACE_API_KEY": "troll_usr_your_key_here"
}
}
}
}Usage with Claude Code
Add to your Claude Code MCP settings:
claude mcp add trollspace -- node /path/to/troll-mcp/dist/index.jsSet the API key in your environment or pass it via the env config.
Tools
Snippets
Code snippets and quick references.
Tool | Description |
| List all code snippets |
| Get a snippet by ID |
| Create a new snippet (name, description, code, language, tags) |
| Update an existing snippet |
| Delete a snippet |
Nuggets
Knowledge notes and insights.
Tool | Description |
| List all nuggets |
| Get a nugget by ID |
| Create a new nugget (name, description, content) |
| Update an existing nugget |
| Delete a nugget |
Todos
Task management lists.
Tool | Description |
| List all todo lists |
| Get a todo list by ID |
| Create a new todo list (name, description, content) |
| Update an existing todo list |
| Delete a todo list |
Ideas
Project and content ideas.
Tool | Description |
| List all ideas |
| Get an idea by ID |
| Create a new idea (name, content) |
| Update an existing idea |
| Delete an idea |
Tools
Software tools and resources catalog.
Tool | Description |
| List all software tools |
| Get a tool by ID |
| Create a new tool entry (name, url, category, description, rating) |
| Update an existing tool entry |
| Delete a tool entry |
Repos
Git repositories and projects.
Tool | Description |
| List all repositories |
| Get a repo by ID |
| Create a new repo entry (title, summary, description_md, repo_url, source_type) |
| Update an existing repo entry |
| Delete a repo entry |
Travel
Travel locations and experiences.
Tool | Description |
| List travel locations (filter by status, location_type) |
| Get a travel location by ID |
| Add a travel location (location_id, location_type, status, dates, notes) |
| Update a travel location |
| Remove a travel location |
Countries & Cities
Read-only reference data for use with travel tools.
Tool | Description |
| List countries (search by name, filter by continent) |
| Get a country by ID |
| List cities (search by name, filter by country_id) |
| Get a city by ID |
Subscriptions
Recurring subscription management.
Tool | Description |
| List subscriptions (filter by status, category, usage_type, billing_cycle) |
| Get a subscription by ID |
| Create a subscription (name, amount, currency, billing_cycle, usage_type) |
| Update a subscription |
| Delete a subscription (payment history preserved) |
| Record a payment and advance the next billing date |
| Generate historical payment records for past periods |
| List payments for a specific subscription |
Subscription Payments
Payment records across all subscriptions.
Tool | Description |
| List all payments (filter by subscription, status, usage_type, source, date range) |
| Get a payment by ID |
| Create a payment record |
| Update a payment record |
| Delete a payment record |
Agent
Tool | Description |
| Send a natural language request to the Trollspace agent |
Development
Regenerate API types
If the OpenAPI spec changes, regenerate the TypeScript types:
npm run generate-typesProject structure
src/
client.ts # Type-safe API client (openapi-fetch + generated types)
index.ts # MCP server entry point with all tool definitions
types/api.d.ts # Auto-generated OpenAPI types (do not edit)License
ISC
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/da-troll/troll-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server