Geo MCP Server

Geo MCP Server

Enables building, querying, and publishing structured knowledge to the decentralized Geo knowledge graph using GRC-20, with tools for graph operations, DAO governance, and file ingestion.

Category
访问服务器

README

Geo MCP Server

MCP server providing full access to the Geo protocol SDK for knowledge graph operations. Build, query, and publish structured knowledge to the Geo decentralized knowledge network using the GRC-20 standard.

Features

  • 38 tools covering the full Geo SDK surface: read, write, and govern
  • GraphQL read layer - search entities, browse spaces, query proposals and votes
  • DAO governance - vote on proposals, propose editor/subspace changes
  • Session-based op accumulation - build complex edits across multiple tool calls, then publish as a single atomic transaction
  • Publish-to-propose continuity - propose_dao_edit can reuse the latest published ops for seamless publish_edit -> propose_dao_edit flows
  • Name-based resolution - reference properties, types, and entities by name instead of IDs
  • Gas-sponsored smart accounts - no testnet ETH needed (uses Pimlico paymaster)
  • Secure local file ingestion - load local JSON/markdown/text files from allowlisted paths

Installation

npm install
npm run build

Configuration

Add to your MCP client config (e.g. Claude Code .mcp.json):

{
  "mcpServers": {
    "geo": {
      "command": "node",
      "args": ["/path/to/geo-mcp-server/dist/index.js"],
      "env": {
        "GEO_PRIVATE_KEY": "0x...",
        "GEO_MCP_ALLOWED_PATHS": "/Users/me/Documents/research,/tmp"
      }
    }
  }
}

The GEO_PRIVATE_KEY environment variable is optional at startup - you can also configure the wallet at runtime using the configure_wallet tool. GEO_MCP_ALLOWED_PATHS is optional and lets you allow additional directories for read_local_file and create_knowledge_graph_from_file. By default, only the current working directory is allowed. GEO_GRAPHQL_URL optionally overrides the GraphQL API endpoint (default: https://testnet-api.geobrowser.io/graphql).

Quick Start

Typical workflow:

  1. Configure wallet - configure_wallet with your private key
  2. Setup space - setup_space creates or finds your personal space
  3. Build knowledge - use any graph tools to create properties, types, entities, and relations
  4. Publish - publish_edit sends all accumulated ops on-chain in one transaction

Example: Create a Knowledge Graph in One Call

Use create_knowledge_graph for the best UX - it builds schema, entities, and relations all at once with name-based references:

create_knowledge_graph({
  schema: {
    properties: [
      { name: "Founded", dataType: "DATE" },
      { name: "Website", dataType: "TEXT" }
    ],
    types: [
      { name: "Company", propertyNames: ["Founded", "Website"] }
    ]
  },
  entities: [
    {
      name: "Geo",
      typeName: "Company",
      values: [
        { propertyName: "Founded", type: "date", value: "2024-01-01" },
        { propertyName: "Website", type: "text", value: "https://geo.xyz" }
      ]
    }
  ]
})

Example: Publish a Local Graph Payload File

When your extraction pipeline writes a JSON payload locally, use one call to ingest it:

create_knowledge_graph_from_file({
  filePath: "./outputs/claimify-paper-graph.json"
})

Expected JSON shape inside the file:

  • { "schema": { ... }, "entities": [...], "relations": [...] }
  • or { "payload": { "schema": { ... }, "entities": [...], "relations": [...] } }

Tools Reference

Graph Operations (8 tools)

Tool Description
create_property Create a property definition with a data type
create_type Create a type (schema) grouping properties
create_entity Create an entity with types, values, and relations
create_relation Create a relation between two entities
create_image Create an image entity from a URL
update_entity Update an existing entity's name, values, or properties
delete_entity Delete an entity
delete_relation Delete a relation

Space & Publishing (6 tools)

Tool Description
configure_wallet Set up wallet with a private key for publishing
setup_space Create or find your personal space
publish_edit Publish all accumulated ops as one on-chain edit
propose_dao_edit Propose accumulated ops as a DAO governance edit
get_session_status View current session state (ops count, artifacts, wallet)
clear_session Discard all accumulated ops

Advanced UX (7 tools)

Tool Description
generate_id Generate one or more unique Geo IDs (dashless UUID v4)
build_schema Create properties + types in one call with name-based references
create_knowledge_graph Build complete graph (schema + entities + relations) in one call
create_knowledge_graph_from_file Build complete graph from a local JSON file payload
read_local_file Read local text/json/binary (base64) from allowlisted paths
add_values_to_entity Add multiple property values to an existing entity
get_system_ids Get well-known Geo system IDs (types, properties, data types)

Read & Query (10 tools)

Tool Description
search_entities Full-text search for entities with optional space/type filters
get_entity Get full entity details (values, relations, backlinks, types)
list_entities Browse entities with filters for space, type, and name
get_space Get space details with editor/member counts and recent proposals
list_spaces Browse spaces with optional type filter (PERSONAL/DAO)
get_type Get type definition with properties
list_types List types in a specific space
get_proposals List proposals for a space (newest first)
get_proposal Get full proposal details with vote breakdown
get_proposal_votes List votes for a specific proposal

DAO Governance (5 tools)

Tool Description
vote_on_proposal Cast YES/NO/ABSTAIN vote on a DAO proposal
propose_accept_editor Propose adding a new editor to a DAO space
propose_remove_editor Propose removing an editor from a DAO space
propose_accept_subspace Propose accepting a subspace into a DAO space
propose_remove_subspace Propose removing a subspace from a DAO space

Supported Data Types

TEXT, INTEGER, FLOAT, BOOLEAN, DATE, TIME, DATETIME, SCHEDULE, POINT, DECIMAL, BYTES, EMBEDDING, RELATION

Development

npm run dev        # Run with tsx (hot reload)
npm run build      # Compile TypeScript
npm run typecheck  # Type check without emitting
npm start          # Run compiled version
npm test           # Run unit tests
npm run test:watch # Run tests in watch mode

Network

Currently operates on the Geo testnet.

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选