Skip to main content
Glama

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

Related MCP server: GSTD A2A MCP Server

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

Available Tools

44 tools
add_values_to_entityA

Add multiple property values to an existing entity in one call.

Inputs: values (required), entityId (required).

build_schemaA

Build a complete schema (properties + types) in one call. Creates all properties first, then creates types that reference those properties by name.

Inputs: types (required), properties (required).

clear_sessionC
Read-only

Clear all accumulated ops

Inputs: no named parameters.

configure_walletA
Idempotent

Configure wallet to enable write operations. Use walletMode=APPROVAL with walletAddress for transaction-return mode (no private key needed). Without any config, the server runs in read-only mode.

Inputs: privateKey, walletMode, walletAddress.

create_entityC

Create an entity instance in the knowledge graph

Inputs: name (required), cover, types, values, +2 more.

create_imageC

Create an image entity from a URL

Inputs: url (required), name, description.

create_knowledge_graphA

Create a complete knowledge graph in one call: schema (properties + types), entities with values, and relations between entities. All name-based references are resolved automatically.

Inputs: schema (required), entities, relations.

create_knowledge_graph_from_fileA

Read a local JSON file and create a complete knowledge graph in one call. Accepts either the raw create_knowledge_graph payload or one nested under payload/knowledgeGraph.

Inputs: filePath (required), maxBytes, validateOnly.

create_propertyC

Create a property definition in the knowledge graph

Inputs: name (required), dataType (required), description.

create_relationB

Create a relation between two entities

Inputs: type (required), toEntity (required), fromEntity (required), position.

create_research_ontology_paper_and_claimsA

Create a Paper entity and Claim entities using the GeoBrowser "Research ontology" (Paper/Claim/Person/Topic/Project). This path is designed for Knowledgebook/GeoBrowser UIs that expect claims to be typed as the canonical Claim type.

Inputs: paper (required), claims (required), createTopics, paperDescription, +5 more.

create_research_paper_and_claimsA

Create a Research Paper entity and multiple Research Claim entities using the canonical Geo research schema. Claim entities are always multi-typed with the canonical GeoBrowser Claim type so they show up in standard Claim views.

Inputs: paper (required), claims (required), paperName, claimNamePrefix, +3 more.

create_typeA

Create a type (schema) that groups properties

Inputs: name (required), properties, description.

delete_entityC
Destructive

Delete an entity from the knowledge graph

Inputs: id (required).

delete_relationA
Destructive

Delete a relation from the knowledge graph

Inputs: id (required).

delete_workspace_entityA
Destructive

Delete a workspace entity and publish the change privately or as a DAO proposal.

Inputs: entityId (required), kind, daoSpaceId, visibility, +2 more.

generate_idA
Read-only

Generate one or more unique Geo knowledge graph IDs (dashless UUID v4)

Inputs: count.

get_entityA
Read-only

Get full details of a single entity by ID, including values, relations, backlinks, and types.

Inputs: id (required).

get_page_contentA
Read-only

Get the ordered content blocks of a page entity. Returns text (Markdown) and image blocks in position order.

Inputs: entityId (required).

get_proposalA
Read-only

Get full details of a single proposal by ID, including vote breakdown.

Inputs: id (required).

get_proposalsA
Read-only

List proposals for a specific space, ordered by creation time (newest first).

Inputs: spaceId (required), first, offset.

get_proposal_votesA
Read-only

List votes for a specific proposal. Returns voter IDs, vote direction, and timestamps.

Inputs: proposalId (required), first, offset.

get_session_statusA
Read-only

Get current session state

Inputs: no named parameters.

get_spaceA
Read-only

Get details of a single space by ID, including editor/member counts and recent proposals.

Inputs: id (required).

get_system_idsA
Read-only

Get well-known system entity IDs from the Geo knowledge graph. Returns commonly used type, property, and data type IDs.

Inputs: category (required).

get_typeA
Read-only

Get details of a type definition by ID. Types are entities, so this returns the entity with its values and properties.

Inputs: id (required).

list_entitiesA
Read-only

List entities with optional filters for space, type, and name. Supports pagination.

Inputs: name, first, offset, typeIds, +1 more.

list_spacesB
Read-only

List spaces with optional type filter. Supports pagination.

Inputs: type, first, offset.

list_typesA
Read-only

List type definitions in a specific space. Returns type entities with basic metadata.

Inputs: spaceId (required), first, offset.

propose_accept_editorB

Propose adding a new editor to a DAO space

Inputs: ipfsUri (required), editorAddress (required), mainVotingAddress (required).

propose_accept_subspaceA

Propose accepting a subspace into a DAO space

Inputs: ipfsUri (required), subspaceAddress (required), mainVotingAddress (required), spacePluginAddress (required).

propose_dao_editC

Propose accumulated ops as a DAO edit

Inputs: name (required), daoSpaceId (required), daoSpaceAddress (required), votingMode.

propose_remove_editorB

Propose removing an editor from a DAO space

Inputs: ipfsUri (required), editorAddress (required), mainVotingAddress (required).

propose_remove_subspaceB

Propose removing a subspace from a DAO space

Inputs: ipfsUri (required), subspaceAddress (required), mainVotingAddress (required), spacePluginAddress (required).

publish_editA

Publish all accumulated ops as an edit to personal space

Inputs: name (required).

read_local_fileA
Read-only

Read a local file from an allowed path. Useful for ingesting local research outputs, claim JSON, or markdown before publishing to Geo.

Inputs: filePath (required), output, maxBytes.

resolve_workspace_entitiesB
Read-only

Resolve workspace entities by kind and optional name search.

Inputs: kind (required), name, first, offset, +1 more.

search_entitiesA
Read-only

Full-text search for entities in the Geo knowledge graph. Returns matching entities with basic metadata.

Inputs: query (required), first, offset, spaceId, +1 more.

setup_spaceA

Ensure personal space exists and get space ID. Requires configured wallet.

Inputs: no named parameters.

submit_signed_transactionA

Submit a signed transaction hash for a pending approval-mode transaction. Handles continuations (auto-vote, auto-execute) automatically.

Inputs: txHash (required), pendingTxId (required).

update_entityC

Update an existing entity

Inputs: id (required), name, unset, values, +1 more.

upsert_canvas_workflowB

Create/update a canvas workflow entity and publish privately or via DAO proposal

Inputs: name (required), nodes (required), connections (required), daoSpaceId, +5 more.

upsert_workspace_entityC

Create/update a workspace note/task/project and publish privately or as a DAO proposal.

Inputs: kind (required), name (required), tags, status, +10 more.

vote_on_proposalA

Cast a vote on a DAO proposal (YES, NO, or ABSTAIN)

Inputs: vote (required), proposalId (required), mainVotingAddress (required), tryEarlyExecution.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 44 tools

    Disambiguation2/5

    Multiple tools have unclear boundaries, especially create_research_paper_and_claims vs create_research_ontology_paper_and_claims, which appear to do nearly the same thing. High-level builders like create_knowledge_graph and build_schema overlap with granular create_property/create_type/create_entity, and upsert_canvas_workflow vs upsert_workspace_entity are easy to confuse. The descriptions help, but an agent could easily pick the wrong level or duplicate function.

    Naming Consistency4/5

    The vast majority of tools follow a clear snake_case verb_noun pattern, such as create_entity, list_spaces, delete_relation, and get_proposal. Minor deviations like create_knowledge_graph_from_file, create_research_paper_and_claims, vote_on_proposal, and propose_accept_editor are still readable but break the simple verb_noun shape slightly.

    Tool Count2/5

    44 tools is far beyond the typical well-scoped MCP surface and crosses the 25+ threshold for 'too many'. While the server covers several subdomains, many tools are convenience wrappers or near-duplicates, making the overall toolset feel heavy and harder to navigate.

    Completeness4/5

    The toolset covers most core workflows: entity CRUD, schema building, research claim creation, workspace management, and DAO proposal/voting. Gaps exist for dedicated property listing, relation reads/updates, and general proposal creation, but agents can work around these using get_entity, search_entities, and propose_dao_edit.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers