0.0.6 • Published 5 months ago

@amp-labs/mcp-docs-server v0.0.6

Weekly downloads
-
License
-
Repository
github
Last release
5 months ago

Star us on GitHub Discord Documentation PRs welcome

Connecting to the mcp server from an MCP Client

Add the following in your mcp.json in cursor IDE or claude_desktop_config.json when using Claude desktop.

Note: This server runs in HTTP SSE mode

When using the official hosted mcp server

{
  "mcpServers": {
    "@amp-labs/mcp-docs-server": {
      "url": "https://mcp-docs.withampersand.com/sse" 
    }
  }
}

When running the docs server locally

{
  "mcpServers": {
    "@amp-labs/mcp-docs-server": {
      "url": "http://localhost:3001/sse"
    }
  }
}

Ampersand MCP docs server

Use npx to automatically run the server locally

This will start the server at http://localhost:3001

npx @amp-labs/mcp-docs-server@latest

# Building locally 

### Install dependencies

`pnpm i`

### Build the MCP SSE server

`pnpm build`


### Start the server

`pnpm start`


## Debugging & troubleshooting
 
Use the MCP inspector tool to know more about the mcp server and debug tools, prompts, resources 

`pnpm inspect`