Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

cli-Go-Pro

cli-Go-Pro is a Go rewrite of the MCP Python CLI project under the course Introduction to Model Context Protocol (MCP). It enables interactive chat capabilities with AI models through the Anthropic API, supporting document retrieval, command-based prompts, and extensible tool integrations via the MCP (Model Context Protocol) architecture.

Setup

  1. Configure .env with your ANTHROPIC_API_KEY.
  2. Run unit tests/build:
    go mod tidy
    go run main.go

Usage

Interact directly in the CLI.

Use @ followed by document id to insert docs. Use / to execute commands.

Testing the Server Independently

You can explore the Go server's resources and prompts visually using the official Anthropics MCP Inspector. Run the following command from the root folder:

npx @modelcontextprotocol/inspector go run mcp_server/main.go

Acknowledgments

Special thanks to the developers of the open-source libraries that made this Go port possible:

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages