Skip to main content
Glama

Magnet MCP Server

An MCP server for interacting with Magnet (magnet.run)

Note: Currently macOS only. Windows and Linux support coming soon.

Setup

To set it up:

  1. Generate an API key for your Workspace (Organization) at https://www.magnet.run/settings or from the Settings -> MCP section of the Desktop app.

  2. Set up your MCP server configuration:

For Cursor or Claude Desktop (add to your MCP settings JSON):

{
  "Magnet": {
    "command": "npx",
    "args": [
      "-y",
      "@magnet-ai/magnet-mcp-server"
    ],
    "env": {
      "MAGNET_API_KEY": "your-api-key-here"
    }
  }
}

For Claude Code (run this command):

claude mcp add --transport stdio Magnet --env MAGNET_API_KEY=your-api-key-here -- npx -y @magnet-ai/magnet-mcp-server

💡 TIP:

If you are seeing issues getting your MCP server configuration working, consider that it might be an issue with the node / npx version, and try to put a full path to the npx you would like to use in the "command" field.

Related MCP server: ironxyz

Local Development

For instructions on developing and testing locally, see LOCAL_DEVELOPMENT.md.

Available Tools

10 tools
create_issueCreate IssueB

Create a new issue in Magnet using markdown content. Supports standard markdown syntax including headings, lists, code blocks, links, etc.

Inputs: markdown (required), baseBranch (required), description (required), title, +3 more.

create_pageCreate PageB

Create a new page in Magnet using markdown content. Supports standard markdown syntax including headings, lists, code blocks, links, etc.

Page types:

  • 'note' (default): A general note or document

  • 'sprint_planning': A sprint planning document

  • 'context_doc_label': A context documentation page

Inputs: title (required), markdown (required), pageType, properties, +1 more.

get_issue_by_idGet Issue by IDA

Fetch a single issue by its ID from Magnet and return it as markdown. The issue includes a 'baseBranch' field which indicates the target branch for any pull requests related to this issue. Use previewOnly=true to get a markdown preview (first 100 words) instead of full content.

Inputs: id (required), previewOnly.

get_page_by_idGet Page by IDA

Fetch a single page by its ID from Magnet and return it as markdown. Use previewOnly=true to get a markdown preview instead of full content.

Inputs: id (required), previewOnly.

list_issuesList IssuesA

List all issues for your organization in Magnet with markdown content. The organization is determined automatically from your API key. Each issue includes a 'baseBranch' field which indicates the target branch for any pull requests related to that issue. Use previewOnly=true to get markdown previews (first 100 words) instead of full content. Supports cursor-based pagination with limit (1-100, default 50) and cursor parameters. Response includes pagination metadata with total count, hasMore flag, and nextCursor for fetching subsequent pages.

Inputs: limit, cursor, previewOnly, organizationId.

list_pagesList PagesA

List all pages for your organization in Magnet with markdown content. The organization is determined automatically from your API key. Use previewOnly=true to get markdown previews instead of full content. Supports cursor-based pagination with limit (1-100, default 50) and cursor parameters. Response includes pagination metadata with total count, hasMore flag, and nextCursor for fetching subsequent pages.

Inputs: limit, cursor, previewOnly, organizationId.

update_issueUpdate IssueA

Update an existing issue in Magnet using markdown content. Only provided fields will be updated. Supports standard markdown syntax including headings, lists, code blocks, links, etc.

Inputs: id (required), markdown (required), title, status, +1 more.

update_pageUpdate PageA

Update an existing page in Magnet using markdown content. Only provided fields will be updated. Supports standard markdown syntax including headings, lists, code blocks, links, etc.

Inputs: id (required), markdown (required), title, properties.

upload_chatUpload ChatA

Upload a chat session to Magnet for tracking and analysis. Returns the created chat with a viewUrl to see it in the web UI.

Inputs: filePath (required), title, organizationId.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 10 tools

    Disambiguation5/5

    Each tool targets a distinct combination of resource (issue, page, chat) and action (get, list, create, update, upload, search). There is no ambiguity between tools, as issues and pages are clearly separate entities.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case (e.g., get_issue_by_id, list_issues, create_page, update_page, upload_chat, search). This consistency aids in predictable tool selection.

    Tool Count5/5

    With 10 tools covering CRUD operations for two resources plus additional upload and search capabilities, the count is well-scoped for a documentation/issue tracking server.

    Completeness4/5

    The tool set covers create, read, update, and list operations for both issues and pages, along with search and chat upload. The only notable gap is the absence of delete operations for issues and pages, which may be intentional but leaves a minor incompleteness.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Official MCP (Model Context Protocol) server for Iron.xyz API, designed to work with Claude Desktop, Cursor IDE and other MCP compatible clients.
      3
      20 npm
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Obsidian-backed knowledge graph with semantic search, entity extraction, and cross-session memory. 11 MCP tools. Works with Claude Code, Cursor, Windsurf, and any MCP-compatible editor.
      1
      MIT